package IBO;

import boerrors.RoleMinimumMultiplicityException;
import boerrors.ZoneMinimumMultiplicityException;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.Vector;

public interface ITechnicien extends Remote{

        int getMatricule() throws RemoteException;
    
        String getPassword() throws RemoteException;
    
        String getFonction() throws RemoteException;
    
        String getNom()throws RemoteException;
    
        String getPrenom()throws RemoteException;
    
        String getTelephone()throws RemoteException;
    
        String getEmail()throws RemoteException;    
    
        IAdresse getIAdresse() throws RemoteException;
    
        IRole getIRole() throws RemoteException, RoleMinimumMultiplicityException;

        Vector<IIntervention> getListeIInterventions() throws RemoteException;
        
        Vector<IIntervention> getListeIInterventionsToday() throws RemoteException; 

        public IZoneGeographique getIZone() throws RemoteException, ZoneMinimumMultiplicityException;
        
        public Object clone() throws RemoteException;
        
        //void setListeInterventions(Vector<IIntervention> listeIntervention) throws RemoteException;
}